<?PHP
$controler = (isset($_GET['c'])) ? $_GET['c'] : '';

switch($controler){
  case "": require 'views/Home.php';  break;
  case "home": require 'views/Home.php';  break;
  case "companies":	require 'views/Companies.php';  break;
  case "companyprofile": require 'views/CompanyProfile.php'	; break;
  case "prev": require 'views/Companies.php' ; break;
  case "next": require 'views/CompaniesNext.php' ; break;
  case "updateprofile": require 'views/UserUpdateProfile.php' ; break;
  case "registercompany": require 'views/CompanyRegister.php' ; break;
  case "friends": require 'modules/user/src/client/FriendListComponent.php' ; break;
  case "mycompanies": require 'modules/user/src/client/UserCompanyListComponent.php' ; break;
  case "myuniversities": require 'modules/university/src/client/MyUniversitiesComponent.php' ; break;
  case "mylistuniversity": require 'modules/university/src/client/MyUniversityListComponent.php' ; break;  
  case "userprofile": require 'views/UserProfile.php' ; break;
  case "userscrap": require 'views/UserScrap.php' ; break;
  case "userlist": require 'views/UserList.php' ; break;
  case "universitylist": require 'views/UniversityList.php' ; break;
  case "universityprofile": require 'views/UniversityProfile.php' ; break;
  
  case "opportunitylist": require 'views/OpportunityList.php' ; break;
  case "opportunitydetails": require 'modules/opportunity/src/client/OpportunityDetailsComponent.php' ; break;
  case "bolsalist": require 'views/BolsaList.php' ; break;
  case "bolsadetails": require 'modules/bolsa/src/client/BolsaDetailsComponent.php' ; break;
  case "registeruniversity": require 'views/UniversityRegister.php' ; break;
  case "registeropportunity": require 'views/OpportunityRegister.php' ; break;
  case "registerbolsa": require 'views/BolsaRegister.php' ; break;
  case "eventlist": require 'views/EventList.php' ; break;
  case "eventdetails": require 'modules/event/src/client/EventDetailsComponent.php' ; break;
  case "registerevent": require 'views/EventRegister.php' ; break;
  case "search": require 'views/AllResultComponent.php' ; break;
  default: require 'views/Home.php';
}

?>
